id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

String OperationsConcat2

prev  |  next  |  chance
public static String combine(String s1, String s2, String s3) {
    String result = s1 + s2 + s3;
    return result;
}
Function Call  Return Value
combine("Car", "wash", " needed")
combine("He", "llo", " world")
combine("5", "8", "1")
combine("Snow", "ball", " fight")
combine("Rain", "boots", "")
combine("Reading", "bat", " is fun")
combine("", "Hi", "")
combine("", "", "")
combine(" ", " ", " ")

Experiment with this code on Gitpod.io

⬅ Back